/*
 * Copyright (c) 2016- 2020 qolome.com Inc. All Rights Reserved.
 * ProjectName: qolome-knowledge
 * FileName: IMessage.java
 * Author: jiangfeng@qolome.com
 * Date: 2020/3/12 下午3:42
 * LastModified: 2020/03/12 15:42:12
 */

package com.qolome.knowledge.design.pattern.bridge.demo.messgae;

import lombok.extern.slf4j.Slf4j;

/**
 * @author Qolome
 * @version V1.0
 * @Description 正常消息
 * @date 2020年 03月12日 15:42:50
 */
@Slf4j
public class NormalMessage extends AbstractMessage{


    public NormalMessage(IMessage message) {
        super(message);
    }

    @Override
    void sendMessage(String message, String toUser) {
        super.sendMessage("正常 -> "+message, toUser);
    }
}
